package util

import (
	"github.com/1141520944/go-library/hjz/common"
	"github.com/1141520944/go-library/library/log"
	"learn/k8s/internal/config"
)

var l *log.Logger

func InitLog(val *config.LogConf) *log.Logger {
	l = common.LoggerDefault(val.Name, val.Path)
	return l
}
func L() *log.Logger {
	return l
}
